package com.jkl.entity.button;

import com.jkl.entity.menu.BsMenu;
import com.jkl.entity.menu.BsMenuVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * @author liuzhennan
 * @create 2021-03-23 11:42
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ButtonVo extends BsMenuVo {
    private Integer rowId;

    private String menuName;

    private Integer level;

    private Integer parentId;

    private Integer buttonId;

    private String buttonCode;

    private String buttonName;

    private Integer menuID;

    private boolean disabled;

    private Integer status;

    List<BsMenuVo> menu = new ArrayList<>();
}
